package com.xcc.mapper;


import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.xcc.model.Page;
import com.xcc.model.UpdateModel;


public interface BaseMapper<T> {


	int deleteByPrimaryKey(String id);

	int insert(T record);

	int insertSelective(T record);

	T selectByPrimaryKey(String id);

	int updateByPrimaryKeySelective(T record);

	int updateByPrimaryKey(T record);


	public List<T> getPageMagament(Page mPage);


	public long getTotal();

	public List<T> selectName(UpdateModel<T> mBookMagaments);

	public	long	selectNameTotal(UpdateModel<T> mTargetLogExtend);


	public void insertlist(@Param(value="mListObjects") List<T> mListObjects);




}
